package cn.myblog.ainblog.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Dovaior
 * @Description 博文和分类的关系表的实体类
 * @create 2021-04-14 23:17
 **/
@Data
@TableName("ain_article_category")
public class ArticleCategoryModel {
    /**
     * 博文id
     */
    @TableId(value = "article_id",type = IdType.INPUT)
    private String articleId;
    /**
     * 分类Id
     */
    @TableField(value = "category_id")
    private String categoryId;
}
